<div class="footer com">
  <div class="fl left">
  	<div class="title">最新資訊</div>
  	<div class="list">
    	<volist name="news_list" id="val">
    	<div class="row" <if condition="$val['url']">onclick="window.location='{$val.url}';"<else />onclick="detail({$val.id});"</if>>
        	<div class="fl l_list">
            	<div class="img">
                	<img width="100%" height="100" src="{$val.thumb}" />
                </div>                
            </div>
            <div class="fl r_list">
            	<div class="name">{$val.title}</div>
                <div class="resume">{$val.resume}</div>
            </div>
        </div>
        </volist>
    </div>
  </div>
  <div class="fr right">
  	<div class="title">聯繫我們</div>
  	<div>{:htmlspecialchars_decode($contact)}</div>
  </div>
  <div class="clear"></div>
</div>
<script>
function detail(id){
	window.location = '/Home/Index/news_detail/id/'+id;
}
</script>